--TEST--
Check if wiringpi_php is loaded
--SKIPIF--
<?php
if (!function_exists('gpio_bcm_pin_ctrl')) {
	echo 'skip';
}
?>
--FILE--
<?php
$pin_number = 3;
wiringPiSetup();
wpiPullUpDnControl($pin_number, GPIO_PUD_UP);
wpiPinMode($pin_number, GPIO_OUTPUT);
wpiDigitalWrite($pin_number, GPIO_HIGH);

sleep(1);
wpiDigitalWrite($pin_number, GPIO_LOW);
?>
--EXPECT--
<?php
